import java.awt.Window;



public class ResultView
{
	
	protected  String userAnswer;
	
	public ResultView(String userAnswer)
	{
		setUserAnswer(userAnswer);
	}

	public boolean compare(String result)
	{
		return userAnswer.equals(result);
	}
	
	public String getUserAnswer()
	{
		return userAnswer;
	}

	public void setUserAnswer(String userAnswer)
	{
		this.userAnswer = userAnswer;
	}

}
